package org.kukker.activity.widget;

import java.util.Map;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.LinearLayout;


public class FloatingMenu extends LinearLayout{
	private static FloatingMenu instance; 
	
	 public FloatingMenu(Context context, AttributeSet attrs, Map inflateParams) {
		 super(context, attrs, inflateParams);
	        
		 FloatingMenu.instance = this;		
	 }
	
	public static FloatingMenu getInstance(){
		return FloatingMenu.instance;
		
	}
	public void hideChildren(){		
		this.getChildAt(0).setVisibility(View.GONE);
		this.getChildAt(1).setVisibility(View.GONE);
	}
	
	public void showChildren(){
		this.getChildAt(0).setVisibility(View.VISIBLE);
		this.getChildAt(1).setVisibility(View.VISIBLE);
	}
	
	
	
}